package com.ruoyi.project.dataviewSystem.mapper;

import java.util.List;
import com.ruoyi.project.dataviewSystem.domain.SurveillancePicture;
import org.apache.ibatis.annotations.Param;

/**
 * 监控图片Mapper接口
 * 
 * @author wangshuo
 * @date 2021-01-31
 */
public interface SurveillancePictureMapper 
{
    /**
     * 查询监控图片
     * 
     * @param id 监控图片ID
     * @return 监控图片
     */
    public SurveillancePicture selectSurveillancePictureById(Long id);

    /**
     * 查询监控图片列表
     * 
     * @param surveillancePicture 监控图片
     * @return 监控图片集合
     */
    public List<SurveillancePicture> selectSurveillancePictureList(SurveillancePicture surveillancePicture);

    /**
     * 新增监控图片
     * 
     * @param surveillancePicture 监控图片
     * @return 结果
     */
    public int insertSurveillancePicture(SurveillancePicture surveillancePicture);

    /**
     * 修改监控图片
     * 
     * @param surveillancePicture 监控图片
     * @return 结果
     */
    public int updateSurveillancePicture(SurveillancePicture surveillancePicture);

    /**
     * 删除监控图片
     * 
     * @param id 监控图片ID
     * @return 结果
     */
    public int deleteSurveillancePictureById(Long id);

    /**
     * 批量删除监控图片
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSurveillancePictureByIds(Long[] ids);

    int batchInsert(@Param("surveillancePictures") List<SurveillancePicture> surveillancePictures);

    List<String> getAllPicUrl(SurveillancePicture surveillancePicture);
}
